
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>{{query}} - 搜索结果 - 纸上烤鱼磁力链接,磁力搜索</title>
<meta name="keywords" content=""/>
<meta name="description" content="电影种子,磁力链接,迅雷链接,BT下载,尽在纸上烤鱼"/>
<meta name="viewport" content="width=device-width"/>
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='default.css') }}"/>
<link rel="shortcut icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}"/>
</head>
<body>
<div id="wrapper">
<div class="top-bar"><span class="first"><a href="/">种子搜索</a></span>
<select autocomplete="off" onchange="changeLanguage(this.value)">
<option value="KR">한국어</option>
<option value="EN">English</option>
<option value="JP">日本語</option>
<option value="CN" selected>简体中文</option>
<option value="HK">繁體中文</option>
</select>
</div>
<div class="header-div">
<form class="search-form"  action="{{url_for('search')}}" method="POST">
<a href="/" ><img src="{{url_for('static',filename='logo_s.png')}}"  class="nav-logo"/></a>
{{form.hidden_tag()}}
{{form.search(id="search")}}
{{form.submit(class="blue",id="btnSearch")}}
</form>

</div>
<div id="sort-bar">
<a href="#"><b>文件大小</b></a>
<a href="{{url_for('search_results',query=query)}}">相关度</a>
<a href="{{url_for('search_results_bycreate_time',query=query)}}">创建时间</a>
<a href="{{url_for('search_results_byrequests',query=query)}}">热度</a>
</div>
<div id="content">
<div id="wall">
<div class="search-statu">
<span>共找到 {{counts}} 条关于 {{query}} 的结果, 耗时 {{taketime*1000}} 毫秒</span>
</div>
<div class="adsense" style="position:relative"></div>
<div class="col-md-8">
{% for hash in hashs %}  
<div class="search-item detail-width">
<div class="item-title">
<h3><a title="{{ hash.name }}" href="{{url_for('detail',info_hash=hash.info_hash)}}" target="_blank">{{ hash.name }}</a></h3>
</div>
<div class="item-list">
<ul>
<li>{{ hash.name }}<span class="lightColor">
{% if hash['length']>1073741824 %}
{{(hash['length']/1073741824)|round(2)}}G
{% else %}{{(hash['length']/1048576)|round(2)}}M
{%endif%}
</span></li></ul>
</div>
<div class="item-bar">
<span class="cpill fileType1">{{hash['category']}}</span>
<span>创建时间：<b>{{ hash['create_time']|todate }}</b></span>
<span>文件大小：
{% if hash['length']>1073741824 %}
<b class="cpill yellow-pill">{{(hash['length']/1073741824)|round(2)}}G</b>
{% else %}<b class="cpill blue-pill">{{(hash['length']/1048576)|round(2)}}M</b>
{%endif%}</span>
<span>热度：<b>{{hash['requests']}}</b></span>
<span><img src="{{ url_for('static', filename='img/link.png') }}"  /><a href="magnet:?xt=urn:btih:{{hash['info_hash'] | upper}}" >磁力链接</a></span>
</div>
</div>
{% endfor %} 
<div class="bottom-pager detail-width">
{% set prev_pages = page-4 if page>5 else 1 %}
{% set next_pages = page+5 if page+5<=pages else pages%}
    {%if pages<10%}
{%if page==1%}
<span>上一页</span>
{%else%}
<a href="{{ url_for('search_results_bylength', query=query,page=page-1 )}}">上一页</a>
{%endif%}
{%for i in range(1,pages+1)%}
<a href="{{ url_for('search_results_bylength', query=query,page=i) }}">{{i}}</a>
{%endfor%}
{%if page<pages%}
<a href="{{ url_for('search_results_bylength', query=query,page=page+1) }}">下一页</a>
{%else%}
<span>下一页</span>
{%endif%}    
    {%else%}
{%if page==1%}
<span>上一页</span>
{%else%}
<a href="{{ url_for('search_results_bylength', query=query,page=page-1 )}}">上一页</a>
{%endif%}
{%for i in range(prev_pages,page)%}
<a href="{{ url_for('search_results_bylength', query=query,page=i) }}">{{i}}</a>
{%endfor%}
<a href="#">{{page}}</a>
{%for i in range(page+1,next_pages+1)%}
<a href="{{ url_for('search_results_bylength', query=query,page=i) }}">{{i}}</a>
{%endfor%}
{%if page<pages%}
<a href="{{ url_for('search_results_bylength', query=query,page=page+1) }}">下一页</a>
{%else%}
<span>下一页</span>
{%endif%}
    {%endif%}
</div>
</div>
<div class="col-md-2">
<div class="search-notice sidebar-width">电影磁力链接,电影bt种子下载,电影迅雷下载相关资源由用户搜索指令自动获取，结果来源于网络，本站不存储任何资料，亦不承担任何责任，请于24小时内删除！</div>
<div id="latest-search" class="sidebar-width">
<span class="latest-desc">大家对这些感兴趣：</span>
{%for tag in tags%}
<span><a href="{{url_for('search_results',query=tag.tag)}}">{{tag.tag}}</a></span>
{%endfor%}
</div>
</div>
</div>
</div>
<div class="push">
</div>
</div>
<div class="footer">
<span><a href="#">纸上烤鱼</a></span> | <span><a href="#">种子搜索</a></span> | <span><a href="#">磁力链接</a></span>
</div>
<script charset="gbk" type="text/javascript" src="http://www.baidu.com/js/opensug.js"></script>
<script type="text/javascript">
             var params = { "XOffset": 0, "YOffset": 0, "fontColor": "#444", "fontColorHI": "#000", "fontSize": "16px", "fontFamily": "arial", "borderColor": "gray", "bgcolorHI": "#ebebeb", "sugSubmit": false };BaiduSuggestion.bind("search", params);
       </script>
</body>
</html>
